/**
 @Name：页面配置
 @Author：perpel
 */
var config = {
    container: 'LAY_app' //容器ID
    , BASE_URL: ''
    , APP: 'LAY_app'
    , name: 'yakAdmin'
    , tableName: 'layuiAdmin'
    , debug: true
    , initColorIndex: 0
    , context: {config: {}, table: {}, tmp: {}}
    , events: {}
}

layui.define(['jquery'], function (exports) {
    config.context.setTable = function (tableId, obj) {
        config.context.table[tableId] = obj;
    }
    config.context.getTable = function (tableId) {
        return config.context.table[tableId]
    }
    exports('setter', layui.jquery.extend(config, YAK_CONFIG || {}));
});

